package com.project.xsf.controller;

import com.project.common.entity.PageVo;
import com.project.xsf.entity.MProcedure;
import com.project.xsf.entity.MProcedureModule;
import com.project.xsf.service.MProcedureModuleService;
import com.project.xsf.service.MProcedureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@RestController
@RequestMapping("/mProcedureModule")
public class MProcedureModuleController {
    @Autowired
    private MProcedureModuleService  mProcedureModuleService;
    @PostMapping("/queryMProcedureModuleByPId.action")
    @ResponseBody
    public PageVo<MProcedureModule> queryMProcedureModuleByPId(@RequestBody Map<String,String> map){
        PageVo<MProcedureModule> pageVo = mProcedureModuleService.queryMProcedureModuleByPId(map);
        return pageVo;
    }
}
